@file:Suppress("unused", "SpellCheckingInspection")

object Android {
    const val compileSdkVersion = 31
    const val minSdkVersion = 21
    const val targetSdkVersion = 30

    const val versionName = "1.0"
    const val versionCode = 1
}

object Versions {
    const val kotlin = "1.6.0-RC2"

    const val core = "1.6.0"
    const val annotation = "1.3.0"
    const val appcompat = "1.3.1"
    const val fragment = "1.3.6"
    const val navigation = "2.3.5"
    const val lifecycle = "2.4.0"
    const val viewpager2 = "1.0.0"
    const val constraintlayout = "2.1.1"
    const val recyclerview = "1.2.1"

    const val leakcanary = "2.7"
}

object Deps {
    //kotlin
    const val kotlin_stdlib = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}"
    const val kotlin_stdlib_jdk8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"

    //androidx
    const val androidx_core_ktx = "androidx.core:core-ktx:${Versions.core}"
    const val androidx_annotation = "androidx.annotation:annotation:${Versions.annotation}"
    const val androidx_appcompat = "androidx.appcompat:appcompat:${Versions.appcompat}"
    const val androidx_viewpager2 = "androidx.viewpager2:viewpager2:${Versions.viewpager2}"
    const val androidx_constraintlayout =
        "androidx.constraintlayout:constraintlayout:${Versions.constraintlayout}"
    const val androidx_recyclerview = "androidx.recyclerview:recyclerview:${Versions.recyclerview}"

    //navigation
    const val androidx_fragment = "androidx.fragment:fragment:${Versions.fragment}"
    const val androidx_navigation_runtime =
        "androidx.navigation:navigation-runtime:${Versions.navigation}"

    //lifecycle
    const val lifecycle_runtime = "androidx.lifecycle:lifecycle-runtime:${Versions.lifecycle}"
    const val lifecycle_viewmodel_ktx =
        "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.lifecycle}"
    const val lifecycle_livedata_ktx =
        "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.lifecycle}"

    //leakcanary：内存泄漏检测 https://github.com/square/leakcanary
    const val leakcanary_android =
        "com.squareup.leakcanary:leakcanary-android:${Versions.leakcanary}"
}